$(document).ready(function () {

    $('#btnLogin').bind('click',btnLoginClick);

})


function btnLoginClick() {

    var username = $('#username').val();
    var password = $('#password').val();

    if(username=='admin'&&password=='123'){
        location.href = "index.html"
    }

}